import request from '@/utils/requestUtil'

// 根据预约状态查看相关人员的预约服务
export function getServiceAppointmentByStatus(status) {
	return request({
		method: 'GET',
		url: '/police/policeserviceappointment/getServiceAppointment/' + status,
		header: {
			'content-type': 'application/json;charset=utf-8'
		}
	})
}

// 修改预约状态
export function changeServiceAppointment(data) {
	return request({
		method: 'PUT',
		url: '/police/policeserviceappointment',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}